package com.itheima.manyToMany;

import com.itheima.bean.Course;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CourseMapper {
    @Select("Select c.id ,c.name from stu_cr sc ,course c where sc.cid =c.id and sc.sid =#{id}")
    public abstract List<Course> selectBySid(Integer id);
}
